﻿using System;
using System.Collections.Generic;
using System.Text;

namespace dianyingyuan
{
    /// <summary>
    /// 放映计划类
    /// </summary>
    [Serializable]
    class Plan
    {
        /// <summary>
        /// 座位集合
        /// </summary>
        private Dictionary<string, Seat> seats;

        internal Dictionary<string, Seat> Seats
        {
            get { return seats; }
            set { seats = value; }
        }

        /// <summary>
        /// 放映计划名(例如：功夫-8:00)
        /// </summary>
        private string planName;

        public string PlanName
        {
            get { return planName; }
            set { planName = value; }
        }

        public Plan(string planName, Dictionary<string, Seat> seats) 
        {
            this.PlanName = planName;
            this.Seats = seats;
        }
    }
}
